package com.muyu.danmo.mapper;

import java.util.List;
import com.muyu.danmo.domain.DanmoCollectMember;
import org.apache.ibatis.annotations.Param;

/**
 * 拾贝会员Mapper接口
 * 
 * @author kongzong
 * @date 2024-12-20
 */
public interface DanmoCollectMemberMapper 
{
    /**
     * 查询拾贝会员
     * 
     * @param id 拾贝会员主键
     * @return 拾贝会员
     */
    public DanmoCollectMember selectDanmoCollectMemberById(Long id);

    /**
     * 查询拾贝会员列表
     * 
     * @param danmoCollectMember 拾贝会员
     * @return 拾贝会员集合
     */
    public List<DanmoCollectMember> selectDanmoCollectMemberList(DanmoCollectMember danmoCollectMember);

    /**
     * 新增拾贝会员
     * 
     * @param danmoCollectMember 拾贝会员
     * @return 结果
     */
    public int insertDanmoCollectMember(DanmoCollectMember danmoCollectMember);

    /**
     * 修改拾贝会员
     * 
     * @param danmoCollectMember 拾贝会员
     * @return 结果
     */
    public int updateDanmoCollectMember(DanmoCollectMember danmoCollectMember);

    /**
     * 删除拾贝会员
     * 
     * @param id 拾贝会员主键
     * @return 结果
     */
    public int deleteDanmoCollectMemberById(Long id);

    /**
     * 批量删除拾贝会员
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoCollectMemberByIds(Long[] ids);

    /**
     * 根据个人信息id查询
     * @param userId
     * @return
     */
    List<DanmoCollectMember> selectDanmoCollectMemberByInformationId(@Param("userId") Long userId);
}
